.class Limoblife/yogamoment/lite/MainActivity$25;
.super Ljava/util/TimerTask;
.source "MainActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/MainActivity;->updateMusicPross()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/yogamoment/lite/MainActivity;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/MainActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    .line 1294
    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 1297
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-boolean v0, v0, Limoblife/yogamoment/lite/MainActivity;->istouch:Z

    if-eqz v0, :cond_0

    .line 1324
    :goto_0
    return-void

    .line 1301
    :cond_0
    sget-boolean v0, Limoblife/yogamoment/lite/SetActivity;->isAnimationPlay:Z

    if-eqz v0, :cond_2

    .line 1303
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-boolean v0, v0, Limoblife/yogamoment/lite/MainActivity;->isDetermine:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-boolean v0, v0, Limoblife/yogamoment/lite/MainActivity;->isDisplayWindows:Z

    if-eqz v0, :cond_1

    .line 1305
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-object v2, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-wide v2, v2, Limoblife/yogamoment/lite/MainActivity;->prevSystemTime:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x1f40

    cmp-long v0, v0, v2

    if-lez v0, :cond_1

    .line 1306
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-object v0, v0, Limoblife/yogamoment/lite/MainActivity;->updateProgessHandler:Landroid/os/Handler;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 1307
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    const/4 v1, 0x1

    iput v1, v0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    .line 1312
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget v0, v0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    if-lez v0, :cond_2

    .line 1313
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget v1, v0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    .line 1314
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget v0, v0, Limoblife/yogamoment/lite/MainActivity;->playAnimation:I

    .line 1315
    iget-object v1, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-object v1, v1, Limoblife/yogamoment/lite/MainActivity;->dutations:[I

    sget v2, Limoblife/yogamoment/lite/SetActivity;->animationModeIndex:I

    aget v1, v1, v2

    .line 1314
    rem-int/2addr v0, v1

    if-nez v0, :cond_2

    .line 1316
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-object v0, v0, Limoblife/yogamoment/lite/MainActivity;->updateProgessHandler:Landroid/os/Handler;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 1322
    :cond_2
    iget-object v0, p0, Limoblife/yogamoment/lite/MainActivity$25;->this$0:Limoblife/yogamoment/lite/MainActivity;

    iget-object v0, v0, Limoblife/yogamoment/lite/MainActivity;->updateProgessHandler:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0
.end method
